R Graphics Essentials for Great Data Visualization: +200 Practical Examples You Want to Know for Data Science by Alboukadel Kassambara

R Graphics Essentials for Great Data Visualization: +200 Practical Examples You Want to Know for Data Science by Alboukadel Kassambara

Author:Alboukadel Kassambara [Kassambara, Alboukadel]
Language: eng
Format: epub
Published: 2017-11-13T22:00:00+00:00


Possible error plots:

Combine error bars with violin plots, dot plots, line and bar plots:

# Combine with violin plots ggplot(ToothGrowth, aes(dose, len))+ geom_violin(trim = FALSE) + geom_pointrange(aes(ymin = len-sd, ymax = len + sd), data = df.summary) # Combine with dot plots ggplot(ToothGrowth, aes(dose, len))+ geom_dotplot(stackdir = "center", binaxis = "y", fill = "lightgray", dotsize = 1) + geom_pointrange(aes(ymin = len-sd, ymax = len + sd), data = df.summary) # Combine with line plot ggplot(df.summary, aes(dose, len))+ geom_line(aes(group = 1)) + geom_pointrange(aes(ymin = len-sd, ymax = len + sd)) # Combine with bar plots ggplot(df.summary, aes(dose, len))+ geom_bar(stat = "identity", fill = "lightgray") + geom_pointrange(aes(ymin = len-sd, ymax = len + sd))



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.